home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Multiple_NIBs / MyObject.m < prev    next >
Text File  |  1995-06-12  |  252b  |  22 lines

  1.  
  2. #import "MyObject.h"
  3.  
  4. @implementation MyObject
  5.  
  6. - CALC:sender
  7. {
  8.     float firstvalue;
  9.     float secondvalue;
  10.     float totalvalue;
  11.  
  12.   totalvalue = ([first floatValue]*[second floatValue]);
  13.  
  14.   [third setFloatValue:totalvalue];
  15.  
  16.  
  17.     return self;
  18. }
  19.  
  20.  
  21. @end
  22.